export default {
	data() {
		return {
			list: [],
			limit: 10
		};
	},
	methods: {
		async getList(pageNo, pageSize) {
			var res = await this.$get('server/index/wentilist', {
				page: pageNo,
				limit: pageSize,
			});
			if (res.errcode != 0) {
				this.$toast(res.errmsg);
				this.$refs.paging.complete(false);
				return;
			}
			this.$refs.paging.complete(res.list);
		}
	}
}
